package com.yg.entity.singleEntity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 对应sheet06，此表是质量工程专业表，对应表中的专业部分
 * </p>
 *
 * @author YingGu
 * @since 2020-11-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "QualityProfessional对象", description = "对应sheet06，此表是质量工程专业表，对应表中的专业部分")
public class QualityProfessional implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "质量工程专业id")
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty(value = "级别：0：省级，1：省级一流")
    private String level;

    @ApiModelProperty(value = "获批时间")
    private String time;

    @ApiModelProperty(value = "课程名称")
    private String name;

    @ApiModelProperty(value = "逻辑删除字段")
    @TableLogic//逻辑删除
    private Integer deleted;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @ApiModelProperty(value = "修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;


}
